package com.changgou.pojo.order;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author feilx
 * @email 852371260@qq.com
 * @date 2020-08-13 21:26:27
 */
@ApiModel
@Data
@TableName("tb_preferential")
public class TbPreferentialEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	@ApiModelProperty(name = "id",value = "ID")
	private Integer id;
	/**
	 * 消费金额
	 */
	@ApiModelProperty(name = "buyMoney",value = "消费金额")
	private Integer buyMoney;
	/**
	 * 优惠金额
	 */
	@ApiModelProperty(name = "preMoney",value = "优惠金额")
	private Integer preMoney;
	/**
	 * 品类ID
	 */
	@ApiModelProperty(name = "categoryId",value = "品类ID")
	private Long categoryId;
	/**
	 * 活动开始日期
	 */
	@ApiModelProperty(name = "startTime",value = "活动开始日期")
	private Date startTime;
	/**
	 * 活动截至日期
	 */
	@ApiModelProperty(name = "endTime",value = "活动截至日期")
	private Date endTime;
	/**
	 * 状态
	 */
	@ApiModelProperty(name = "state",value = "状态")
	private String state;
	/**
	 * 类型1不翻倍 2翻倍
	 */
	@ApiModelProperty(name = "type",value = "类型1不翻倍 2翻倍")
	private String type;

}
